package com.xzz.cloud.consumer.order.service;

import org.springframework.stereotype.Component;

/**
 * @author: hhz
 * @createDate: 2021-4-2
 */
@Component
public class PaymentFallBackService implements PaymentHystrixService{
    @Override
    public String paymentInfo_ok(Integer id) {
        return "----- PaymentFallBackService fall back-paymentInfo_OK ,o(╥﹏╥)o";
    }

    @Override
    public String paymentInfo_timeout(Integer id) {
        return "----- PaymentFallBackService fall back-paymentInfo_timeout ,o(╥﹏╥)o";
    }
}
